package com.itheim.array;
/*
  二维数组的遍历
 */
public class ArrayDemo08 {
    public static void main(String[] args) {
        int[][] arr = {{1,2,3,4,5,6},{6,5,4,3,2,1,}};
        //遍历二维数组
        for (int i =0;i<arr.length;i++){
            for(int j =0;j<arr[i].length;j++){
                System.out.println(arr[i][j]);
            }
        }
    }
}
